package com.sn.author.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author xiaom
 * @Date 2020/9/16 20:31
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("分页参数")
public class PageVo extends BaseVo{

    @ApiModelProperty("分页")
    @NotNull(message = "分页参数不全")
    private Integer pageIndex;

    @ApiModelProperty("分页")
    @NotNull(message = "分页参数不全")
    private Integer pageSize;

}
